\hypertarget{db-control_2inc_2functions_8php}{
\section{\-C\-:/\-Users/\-Jon/\-Downloads/\-O\-O\-P/db-\/control/inc/functions.php \-File \-Reference}
\label{db-control_2inc_2functions_8php}\index{\-C\-:/\-Users/\-Jon/\-Downloads/\-O\-O\-P/db-\/control/inc/functions.\-php@{\-C\-:/\-Users/\-Jon/\-Downloads/\-O\-O\-P/db-\/control/inc/functions.\-php}}
}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{db-control_2inc_2functions_8php_aca07cf60afd49a5a5b583459f5423045}{connect\-To\-Database} ()
\item 
\hyperlink{db-control_2inc_2functions_8php_a61006d44ae8ce17e621047df954d5ab5}{sanitize\-Str} (\$str)
\item 
\hyperlink{db-control_2inc_2functions_8php_ac2f59bd4faf01600f3d667f745c06367}{restore\-Str} (\$str)
\item 
\hyperlink{db-control_2inc_2functions_8php_a52f03868740ba9447c20fecd0f7d22f5}{encrypt\-Str} (\$str)
\end{DoxyCompactItemize}


\subsection{\-Function \-Documentation}
\hypertarget{db-control_2inc_2functions_8php_aca07cf60afd49a5a5b583459f5423045}{
\index{db-\/control/inc/functions.\-php@{db-\/control/inc/functions.\-php}!connect\-To\-Database@{connect\-To\-Database}}
\index{connect\-To\-Database@{connect\-To\-Database}!db-control/inc/functions.php@{db-\/control/inc/functions.\-php}}
\subsubsection[{connect\-To\-Database}]{\setlength{\rightskip}{0pt plus 5cm}connect\-To\-Database (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{db-control_2inc_2functions_8php_aca07cf60afd49a5a5b583459f5423045}


\-Definition at line 3 of file functions.\-php.

\hypertarget{db-control_2inc_2functions_8php_a52f03868740ba9447c20fecd0f7d22f5}{
\index{db-\/control/inc/functions.\-php@{db-\/control/inc/functions.\-php}!encrypt\-Str@{encrypt\-Str}}
\index{encrypt\-Str@{encrypt\-Str}!db-control/inc/functions.php@{db-\/control/inc/functions.\-php}}
\subsubsection[{encrypt\-Str}]{\setlength{\rightskip}{0pt plus 5cm}encrypt\-Str (
\begin{DoxyParamCaption}
\item[{\$}]{str}
\end{DoxyParamCaption}
)}}
\label{db-control_2inc_2functions_8php_a52f03868740ba9447c20fecd0f7d22f5}
\-Hashes a given password 
\begin{DoxyParams}{\-Parameters}
{\em \-String} & \-Password to be hashed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-String \-Returns the hashed password 
\end{DoxyReturn}


\-Definition at line 46 of file functions.\-php.

\hypertarget{db-control_2inc_2functions_8php_ac2f59bd4faf01600f3d667f745c06367}{
\index{db-\/control/inc/functions.\-php@{db-\/control/inc/functions.\-php}!restore\-Str@{restore\-Str}}
\index{restore\-Str@{restore\-Str}!db-control/inc/functions.php@{db-\/control/inc/functions.\-php}}
\subsubsection[{restore\-Str}]{\setlength{\rightskip}{0pt plus 5cm}restore\-Str (
\begin{DoxyParamCaption}
\item[{\$}]{str}
\end{DoxyParamCaption}
)}}
\label{db-control_2inc_2functions_8php_ac2f59bd4faf01600f3d667f745c06367}
\-Removes slashes from a string 
\begin{DoxyParams}[1]{\-Parameters}
string & {\em \$str} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
string \$str 
\end{DoxyReturn}


\-Definition at line 35 of file functions.\-php.

\hypertarget{db-control_2inc_2functions_8php_a61006d44ae8ce17e621047df954d5ab5}{
\index{db-\/control/inc/functions.\-php@{db-\/control/inc/functions.\-php}!sanitize\-Str@{sanitize\-Str}}
\index{sanitize\-Str@{sanitize\-Str}!db-control/inc/functions.php@{db-\/control/inc/functions.\-php}}
\subsubsection[{sanitize\-Str}]{\setlength{\rightskip}{0pt plus 5cm}sanitize\-Str (
\begin{DoxyParamCaption}
\item[{\$}]{str}
\end{DoxyParamCaption}
)}}
\label{db-control_2inc_2functions_8php_a61006d44ae8ce17e621047df954d5ab5}
\-Addes slashes to a string, and gets rid of \-H\-T\-M\-L entities 
\begin{DoxyParams}[1]{\-Parameters}
string & {\em \$str} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
string \$str 
\end{DoxyReturn}


\-Definition at line 24 of file functions.\-php.

